package org.springcloud.plugin.common.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * @Author yanggld
 * @Date 2019/12/16-18:08
 * @Description
 */
@EqualsAndHashCode
@ToString
@Data
public class RuleEntity implements Serializable {
	/**
	 * 服务注册
	 */
	private RegisterEntity registerEntity;
	/**
	 * 服务发现
	 */
	private DiscoveryEntity discoveryEntity;
	/**
	 * 策略路由
	 */
	private StrategyEntity strategyEntity;
	/**
	 * 定制化策略路由
	 */
	private StrategyCustomizationEntity strategyCustomizationEntity;
	/**
	 * 规则内容
	 */
	private String content;
}
